State leaders, most notably Democrats, are increasingly turning to state courts as a political tool to help pass elections laws and redistricted maps ahead of the 2024 election.