Fast-rising electricity bills could be an issue in some congressional battlegrounds in next year’s midterm elections.