Nancy Pelosi was a crucial, behind-the-scenes voice last summer urging Joe Biden to drop out of the race against Donald Trump.