Thermal-Switching and Repeatable Self-Protective Hydrogel Polyelectrolytes for Energy Storage Applications of Flexible Electronics