Autonomous Drifting Based on Maximal Safety Probability Learning