Locally-implicit Lax-Wendroff discontinuous Galerkin schemes with constrained transport for the ideal magnetohydrodynamic equations