A $$C^0$$ Weak Galerkin Method with Preconditioning for Constrained Optimal Control Problems with General Tracking