Error estimates of the Crank-Nicolson Galerkin method for the time-dependent Maxwell-Schr\"{o}dinger equations under the Lorentz gauge