Neural Network-Based Confinement Mode Prediction for Real-Time Disruption Avoidance