House Minority Leader Nancy Pelosi has withstood challenges to her leadership from her own party. But with the calculus changed in Trump’s Washington, even a blue wave in November wouldn’t give her a sure thing.