Dynamical Casimir–Polder potentials in non-adiabatic conditions