NY’s highest court just made things harder for Democrats in the 2022 midterms