Optimization of Robot Trajectory Planning with Nature-Inspired and Hybrid Quantum Algorithms