[guided]The finite-horizon identity contains a terminal term, so we cannot simply discard it when $T\to\infty$. The correct point is to prove transversality: for every finite-cost input, the terminal quantity $x(T)^\top Px(T)$ tends to zero.
Let $C\in\mathbb R^{n\times n}$ be the symmetric non-negative square root $C=Q^{1/2}$, so $Q=C^\top C$. Since $(C,A)$ is detectable, there exists a matrix $G\in\mathbb R^{n\times n}$ such that $A-GC$ is Hurwitz. If $J_{x_0}[u]<\infty$, then the positive definiteness of $R$ gives $u\in L^2([0,\infty);\mathbb R^m)$, and the identity $x(t)^\top Qx(t)=|Cx(t)|^2$ gives $Cx\in L^2([0,\infty);\mathbb R^n)$. Rewriting the state equation gives
\begin{align*}
\dot{x}(t)=(A-GC)x(t)+Bu(t)+GCx(t).
\end{align*}
Define $r:[0,\infty)\to\mathbb R^n$ by
\begin{align*}
r(t):=Bu(t)+GCx(t).
\end{align*}
Because $B$ and $G$ are fixed matrices, $u\in L^2([0,\infty);\mathbb R^m)$, and $Cx\in L^2([0,\infty);\mathbb R^n)$, we have $r\in L^2([0,\infty);\mathbb R^n)$. The matrix $A-GC$ is Hurwitz, so the stable linear system driven by the $L^2$ input $r$ satisfies $x(t)\to 0$ as $t\to\infty$ by the variation-of-constants formula and the standard $L^2$-stability estimate for Hurwitz systems. Therefore
\begin{align*}
x(T)^\top Px(T)\to 0.
\end{align*}
Now integrate the square-completion identity over $[0,T]$:
\begin{align*}
\int_0^{\!T}\left(x(t)^\top Qx(t)+u(t)^\top Ru(t)\right)\,d\mathcal L^1(t)=x_0^\top Px_0-x(T)^\top Px(T)+\int_0^{\!T}w(t)^\top Rw(t)\,d\mathcal L^1(t).
\end{align*}
Let $T\to\infty$. The left-hand side increases to $J_{x_0}[u]$ by monotone convergence, the terminal term tends to zero by transversality, and the square term increases to its infinite-horizon integral by monotone convergence. Thus
\begin{align*}
J_{x_0}[u]=x_0^\top Px_0+\int_0^\infty w(t)^\top Rw(t)\,d\mathcal L^1(t).
\end{align*}
Since $R>0$, $w(t)^\top Rw(t)\ge 0$ for almost every $t$, and hence $J_{x_0}[u]\ge x_0^\top Px_0$. If $J_{x_0}[u]=\infty$, the same lower bound is immediate because $P\ge 0$.[/guided]