Cavity-Enabled Spin Squeezing For A Quantum-Enhanced Atomic Clock