Spectral curves of $\mathcal{N}=1$ theories of class $\mathcal{S}_k$