The California Democrat, the first woman to be speaker, was nominated by acclamation as the party’s lawmakers used a pandemic-induced virtual meeting to pick their leaders. Pelosi already has served six years in the job, but the next two loom as her toughest.