An a posteriori error indicator for discontinuous Galerkin discretizations of H(curl)-elliptic partial differential equations