Lyapunov exponents and adaptive mesh refinement for high-speed flows using a discontinuous Galerkin algorithm