MCTR: Midpoint Corrected Triangulation for Autonomous Racing via Digital Twin Simulation in CARLA