Vision-Based Hazard Detection and Real-Time Safe Trajectory Optimization Using Successive Convexification for Lunar Landing