In 2012, Mr. Trump denounced the Electoral College as “a disaster for democracy” in a tweetstorm in which he called President Obama’s reelection “a sham and a travesty,” despite the fact that Mr. Obama won both the popular vote and the electoral vote handily.