Nancy Pelosi of California is elected House speaker, reclaiming gavel to lead Democrats confronting President Trump.