It's Boltzmann's H- Theorem. For an introduction, please read the Wikipedia page. The quantity $H$, a function of time $t$, is defined as :
$$
H(t) = \int_0^t f(E,t)log(\frac{f(E,t)}{\sqrt{E}}-1)
$$
$f$ is the number of molecules having a kinetic energy between $E$ and $dE$. One sees, that this quantity is a measure of "information" in the gas.
Any given collision(s) between any two molecules of an ideal gas occurs with the molecules initially having uncorrelated velocity, angle of collision and starting points.
Now, for the gas molecules to run truly randomly, you want to make sure that the "information" - i.e. any regular pattern generated by them is minimal. To go back to your original question, if all molecules did eventually came to an uniform speed, then, starting from an initial fully random state, they will spontaneously start moving towards a particular direction. Order will rise spontaneously. This conflicts with second law.
At this point, please note, that the $H$-theorem is not perfectly rigorous in that sense - there are ongoing attempts to improve it.
Nevertheless for the purpose of this question, Boltzmann's argument is that the quantity $H$ must be minimized. And that can only happen when the velocity distribution converges to the Maxwell-Boltzmann distribution.