Trump’s attempt to steal an election didn’t come from nowhere – it was rooted in years of Republican contempt for democracy