A federal judge on Monday dismissed the challenge to New York’s Even Year Election Law, throwing out the government plaintiffs’ claims.