A representation learning approach to probe for dynamical dark energy in matter power spectra