Distinguishing phases using the dynamical response of driven-dissipative light-matter systems