Sub-cycle switching of a photonic bandstructure via ultrastrong light-matter coupling