Analytical solution of the discrete Boltzmann equation for the Rayleigh flow problem for gas mixtures