Distribution of the quantum mechanical time-delay matrix for a chaotic cavity