Short-term variability and mass loss in Be stars V. Space photometry and ground-based spectroscopy of $γ$ Cas