Republicans are unlikely to hold onto the presidency or retake a majority of U.S. House seats, but the party still scored a low-profile yet crucial win this week: It held control of most states’ legislative bodies and governors’ offices, giving Republicans outsized power when state lawmakers begin carving new congressional districts next year.