A small town in North Carolina is suing Duke Energy for what officials characterized as a decades-long “deception campaign” about climate change, including allegedly misleading residents about the dangerous effects of fossil fuels and delaying the transition to cleaner energy.