Observing the Casimir-Lifshitz force out of thermal equilibrium