Constraining nucleon effective masses with flow and stopping observables from the S$\pi$RIT experiment