Floquet dynamics in the quantum measurement of mechanical motion