[guided]Let $N := \lfloor x \rfloor$. The reason for introducing $N$ is that the large-sieve discrepancy estimate is naturally stated for sequences indexed by integers $1,\dots,N$, while the theorem uses the analytic convention $n \leq x$. For an integer $n$, the inequalities $n \leq x$ and $n \leq \lfloor x \rfloor$ are equivalent.
Define $b: \{1,\dots,N\} \to \mathbb{R}$ by $b_n := \Lambda(n)$. Let $\varphi: \mathbb{N} \to \mathbb{N}$ denote Euler's totient function. We apply the mean-square discrepancy estimate for reduced residue classes, which states that for every finite complex sequence $(b_n)_{1\leq n\leq N}$ and every $Q \geq 1$,
\begin{align*}
\sum_{q \leq Q} \sum_{a \bmod q,\ \gcd(a,q)=1} \left|\sum_{1 \leq n \leq N,\ n \equiv a \bmod q} b_n - \frac{1}{\varphi(q)}\sum_{1 \leq n \leq N,\ \gcd(n,q)=1} b_n\right|^2 \leq (N+Q^2)\sum_{n=1}^{N}|b_n|^2.
\end{align*}
This is the locally staged Large Sieve Mean Square Discrepancy Bound [quotetheorem:TEMP-28].
We verify the hypotheses: the sequence is finite, because it is indexed by $\{1,\dots,N\}$, and $Q \geq 1$ is assumed in the theorem. Substituting $b_n=\Lambda(n)$ gives
\begin{align*}
\sum_{1 \leq n \leq N,\ n \equiv a \bmod q} b_n - \frac{1}{\varphi(q)}\sum_{1 \leq n \leq N,\ \gcd(n,q)=1} b_n = \sum_{1 \leq n \leq x,\ n \equiv a \bmod q} \Lambda(n) - \frac{1}{\varphi(q)}\sum_{1 \leq n \leq x,\ \gcd(n,q)=1} \Lambda(n).
\end{align*}
The right-hand side is exactly $E_\Lambda(x;q,a)$ by definition. Therefore the discrepancy bound gives
\begin{align*}
\sum_{q \leq Q} \sum_{a \bmod q,\ \gcd(a,q)=1} |E_\Lambda(x;q,a)|^2 \leq (N+Q^2)\sum_{n=1}^{N}\Lambda(n)^2.
\end{align*}
Finally, $N \leq x$, and the integer endpoint convention gives $\sum_{n=1}^{N}\Lambda(n)^2=\sum_{n\leq x}\Lambda(n)^2$. Hence
\begin{align*}
\sum_{q \leq Q} \sum_{a \bmod q,\ \gcd(a,q)=1} |E_\Lambda(x;q,a)|^2 \leq (x+Q^2)\sum_{n\leq x}\Lambda(n)^2.
\end{align*}[/guided]