Nonequilibrium dynamics in one-dimensional strongly interacting two-component gases