A few months ago, the 2024 presidential election was on course to be an inverse popularity contest. Polls consistently showed that both President Joe Biden and former president Donald Trump were unpopular and, often, that voters wished neither candidate would actually be on the ballot.