After thirty years in Congress, the moderate senator from Maine has lost to Troy Jackson, a populist candidate whom not even the Democrats wanted. She had weathered Obama, Democratic majorities and Trump’s first term. This time, it was the US president himself who sealed her fate