Probing ultrastrong light–matter coupling in open quantum systems