You can also prove this by showing that both sides are different expressions for the generating function of the same sequence.
Fix a positive integer $n$ from now on. For a nonnegative integer $m$, let $Q_m$ be the number of lattice paths, that touch the main diagonal (starting from the left bottom corner) exactly $n$ times before it goes above it for the first time in an $m\times m + 1$ grid ($m$ horizontal, $m+1$ vertical). Let us call these paths admissible paths. All paths considered here are only allowed to go right or up.
If such an admissible path exists for some $m$ then $m\ge n$ since for every time you touch the diagonal, from the bottom corner up to the last time you touch the diagonal but failed to go up (i.e. n times) you need an horizontal segment that keeps you below it. So, horizontally you need at least $n$ segments, hence $m\ge n$.
The generating function looks then like this: $\displaystyle\sum_{m\ge n} Q_mx^m$.
Define $k = m - n$. We have:
Claim: There is a bijection between the admissible paths and the paths of an $k\times (n + k)$ grid ($k$ horizontal, $n + k$ vertical segments.)
Proof:
Given an admissible path, we remove the following segments from it: the $n$ horizontal segments that follow a failure point and the one vertical segment that follows the first time we cross (i.e the very first segment that is above the diagonal). We concatenate the resulting pieces by gluing their endpoints one to the next. Notice that the first segment we remove always is the first horizontal segment from the left bottom corner.The path that remains has $m - n = k$ horizontal segments and $m + 1 - 1 = m = n + k$ vertical paths. Thus these paths indeed are in the sought grid.
If we have one such path $P$ in order to read the corresponding admissible path we begin by putting an horizontal segment and we follow $P$ until we hit the main diagonal, at which point we put another horizontal segment, and proceed reading $P$. We put horizontal segments until we have touched the diagonal $n$ times (without counting the initial point). At that time we put a vertical segment, and we copy what is left of $P$. Inverting the computations above we see that this is indeed a path in a grid of $m\times m + 1$.
Notice that because our path $P$ goes up $n + k$ times we must always be able to push it horizontally (force it to fail), counting the first segment from the bottom left corner, n times since, in the worst case scenario (k = 0) after pushing the n times we get we have moved $n + k$ in both directions and we still have the extra room to push up once more. This proves that the constructed path out from $P$ is indeed admissible. This concludes proving this correspondence is actually a bijection. $\blacksquare$
Here is a drawing to show this for $n =2, m = 3, k = 1$:

[The yellow edges are those we add to make sure it fails until we want it to succeed]
We have proven then that the generating function is
$$\begin{equation*}
\displaystyle\sum_{m\ge n} Q_mx^m = \displaystyle\sum_{k\ge 0} \binom{n + 2k}{k}x^{n + k}.
\end{equation*}$$
On the other hand, we can forget about the size of the final grid (i.e. about $m$) and construct what happens out of first principles. There are $n + 1$ independent events ocurring: what happens before the first failure, in between the first and second failures, up to what happens in between the $n - 1$ failure and the success moment and then what happens after we crossed the diagonal and went above for the first times.
Each one of the first independent events is some Catalan number $C_{i}$ and contributes $i + 1$ to the horizontal and vertical lengths, since we must not cross the subdiagonal until the right time. Notice this is important, since if we just consider the $i\times i$ square instead we might have intermidiate failures in between endpoints, since catalan paths are allowed to touch the diagonal of the square they live in, and we dont want those extra failures.
Hence the generating function of each of these events is $x\displaystyle\sum_{i = 0}C_ix^i$ (the extra $x$ is the displacement on the contribution to horizontal length!). We have $n$ of these.
Then, after the last Catalan square is done, we have a foced vertical segment and then whatever we want as long as it happens in a $j\times j$ square for some $j$. (This is because at the end, the final grid has to be $m\times m + 1$ and the Catalan part has produced a square grid and the vertical strip takes awaty the $+1$, so we need another square for the dimensions to match. The generating function for this square is
$$\begin{equation*}
\displaystyle\sum_{j\ge 0} \binom{2j}{j}x^j
\end{equation*}$$
We have thus proved the equality
$$\begin{equation*}
\left(x\displaystyle\sum_{i = 0}C_ix^i\right)^n\displaystyle\sum_{j\ge 0} \binom{2j}{j}x^j = \displaystyle\sum_{k\ge 0} \binom{n + 2k}{k}x^{n + k}
\end{equation*}$$
Using that we know
$$\displaystyle\sum_{i = 0}C_ix^i = \dfrac{1 - \sqrt{1 - 4x}}{2x}$$
and, from Newton's Binomial theorem, that
$$
\displaystyle\sum_{j\ge 0} \binom{2j}{j}x^j = \dfrac{1}{\sqrt{1 - 4x}}
$$
we conclude
$$
\begin{equation*}
x^n\left(\dfrac{1 - \sqrt{1 - 4x}}{2x}\right)^n\dfrac{1}{\sqrt{1 - 4x}} = \displaystyle\sum_{k\ge 0} \binom{n + 2k}{k}x^{n + k},
\end{equation*}
$$
and cancelling the factor $x^n$ on both sides we get the desired equality.