Artificial Intelligence--Based Data Path Control in LEO Satellites--Driven Optical Communications