By Shane GoldmacherJonathan Swan and Maggie Haberman How an unpopular president and an unpopular war provided an opening for Democrats to make sweeping gains in the midterms. Six days before the election, more than two dozen of President Trump’s top strategists logged onto a private video call. The mood was grim. The discussion began with talk of cyanide. “Do you want the white pill first, or…