Goal-Conditioned Terminal Value Estimation for Real-time and Multi-task Model Predictive Control