Dual-Stage Planning for Elastic Optical Networks Integrating Machine-Learning-Assisted QoT Estimation