The Dynamical Origin of the Local Arm and the Sun's Trapped Orbit