Geodesically convex energies and confinement of solutions for a multi-component system of nonlocal interaction equations