State sues Troy over election for new mayor