Riemann–Hilbert approach of the coupled nonisospectral Gross–Pitaevskii system and its multi-component generalization