Republicans running for governor and attorney general are framing the races as a chance to reshape the state’s judiciary and GOP influence over political maps.