Photothermal wave propagation in media with thermal memory