The Supreme Court ruled in a major elections case that could affect voting boundaries, mail-in ballots, and more forthe 2024 election and beyond.