Across the country, Democrats have seized on rising anxiety over electricity costs and data centers in what could be a template for the 2026 midterm elections.