New York court upholds mail-in voting law