Amid Donald Trump's sweeping efforts to change voting rules, the midterms could have lasting consequences for US elections.