Quasi-potential and drift decomposition in stochastic systems by sparse identification