An ex-high school teacher who now serves as City Hall’s top aide allegedly had an inappropriate relationship with one of her students for at least a year.