Quantum principle of sensing gravitational waves: From the zero-point fluctuations to the cosmological stochastic background of spacetime