By the time officials in Flint, Mich., declared a state of emergency in response dangerously high levels of lead in the city’s drinking water in mid-December of 2015, residents had been complaining to each other about discolored and foul-smelling drinking water for more than a year.