States that passed restrictive voting measures saw lower voter turnout and were won by Donald Trump.