Observation of spin-orbit-dependent electron scattering using long-range Rydberg molecules