The relaxed Dirichlet energy of manifold constrained mappings