ALBANY, N.Y. (AP) — New York's highest court on Thursday upheld a law shifting local elections to even-numbered years, bringing most county and town elections in line with statewide and federal races.