Maximum principle for vector-valued mappings minimizing variational integrals