Electron in the field of flexural vibrations of a membrane: Quantum time, magnetic oscillations, and coherence breaking