Switching ultrastrong light-matter coupling on a subcycle scale