For weeks this fall, an ebullient President Trump traveled relentlessly to hold raise-the-rafters campaign rallies — sometimes three a day — in states where his presence was likely to help Republicans on the ballot. But his mood apparently has changed as he has taken measure of the electoral backlash...