High Order Implicit Shock Tracking Using An Optimization-Based Discontinuous Galerkin Method