An Energy-Aware Dynamic RWA Framework for Next-Generation Wavelength-Routed Networks