Energy spectra in $p$-shell $\Lambda$ hypernuclei and $^{19}_{\Lambda}\textrm{F}$ and spin-dependent $\Lambda N$ interactions