Political power in legislatures and governors’ offices is at stake in the November elections in more than one-third of the states, creating down-ballot drama in the midterms that could have significant implications for President Donald Trump’s agenda. Outside groups aligned with the two major parties have pledged heavy spending in a battle for control of...