A Symplectic Structure Preserved by the Trapezoidal Rule