If Let $ \mathbb{P}_{lm}$; $l,m \in \{1,\ldots, M\}$ be the $(n-1)$-dimensional space consisting of points satisfying $v^T(\mathbf{X}_l-\mathbf{X}_m) = 0$ Then as long as $\mathbf{X}_l-\mathbf{X}_m$ is nonzero the probability that a randomly chosen vector* from ${\mathbb{R}}_n$ lands in $\mathbb{P}_{lm}$ is 0 (as it would be for any $(n-1)$-dimensional space). So let $A$ be the randomly chosen matrix. For any positive integers $l,m \le M$ and $p \le n$ only way $A\mathbf{X}_l$ and $A\mathbf{X}_m$ can agree on the $p$-th coordinate is if the $p$-th row of $A$ which was randomly chosen is in $\mathbb{P}_{lm}$. The probability of this happening is 0. So finish using the Union Bound. *By randomly chosen we mean that each coordinate of $v$ is picked independently of one another according to the uniform distribution on $[0,1]$. In fact each coordinate of $v$ could be picked according to any continuous distribution