Revealing hidden spin-momentum locking in a high-temperature cuprate superconductor