[guided]The purpose of the convex epigraph hypothesis is to make the limit of the velocity-cost pairs representable by an actual control. For each $k$, define
\begin{align*}
y_k(t) := (\dot{x}_k(t),\ell_k(t)).
\end{align*}
Because $(x_k,u_k)$ satisfies the dynamics and because $\ell_k(t)=L(t,x_k(t),u_k(t))$, we have, for $\mathcal{L}^1$-a.e. $t$,
\begin{align*}
y_k(t) = (f(t,x_k(t),u_k(t)),L(t,x_k(t),u_k(t))) \in Q(t,x_k(t)).
\end{align*}
Thus $y_k(t)$ lies on the graph of the velocity-cost epigraph associated to the point $(t,x_k(t))$.
The limiting difficulty is that the controls $u_k$ need not converge pointwise or weakly to a meaningful control. The Filippov-Cesari closure theorem is designed precisely for this situation. It says that, when the velocity-cost epigraphs are closed and convex, a uniform limit of trajectories whose velocity-cost pairs lie in those epigraphs is again generated by a measurable control, with the running cost controlled by a liminf inequality.
We verify the hypotheses. The convergence $x_k \to x$ is uniform by the preceding step. The values $x_k(t)$ and $x(t)$ lie in the compact set $K$. For each fixed $(t,z) \in [t_0,t_1] \times K$, the set $Q(t,z)$ is nonempty because $U_c$ is nonempty, and it is convex by hypothesis.
We next check closedness of the epigraph values. Suppose $(v_j,r_j) \in Q(t,z)$ and $(v_j,r_j) \to (v,r)$ in $\mathbb{R}^{n+1}$. For each $j$, choose $w_j \in U_c$ such that $v_j=f(t,z,w_j)$ and $r_j \geq L(t,z,w_j)$. Since $U_c$ is compact, a subsequence satisfies $w_{j_i} \to w$ for some $w \in U_c$. Continuity of $f$ and $L$ gives $v=f(t,z,w)$ and $r \geq L(t,z,w)$, so $(v,r) \in Q(t,z)$. Thus each $Q(t,z)$ is closed.
We verify the closed-graph condition required by the closure theorem directly. Suppose $(t_j,z_j,v_j,r_j) \to (t,z,v,r)$ in $[t_0,t_1] \times K \times \mathbb{R}^{n+1}$ and $(v_j,r_j) \in Q(t_j,z_j)$ for every $j \in \mathbb{N}$. By the definition of $Q(t_j,z_j)$, choose $w_j \in U_c$ with $v_j=f(t_j,z_j,w_j)$ and $r_j \geq L(t_j,z_j,w_j)$. Since $U_c$ is compact, there is a subsequence $w_{j_i} \to w$ for some $w \in U_c$. Continuity of $f$ and $L$ gives $v=f(t,z,w)$ and $r \geq L(t,z,w)$. Hence $(v,r) \in Q(t,z)$, so the graph is closed. For this compact-control continuous epigraph multifunction, closed graph gives the measurability and upper-closedness assumptions used in the Filippov-Cesari closure theorem.
Finally, the velocity components are uniformly bounded because the preceding step proved
\begin{align*}
|\dot{x}_k(t)| = |f(t,x_k(t),u_k(t))| \leq M_f
\end{align*}
for $\mathcal{L}^1$-a.e. $t$. The cost coordinates have integrable lower and upper bounds: continuity of $L$ on the compact set $[t_0,t_1] \times K \times U_c$ gives constants $m_L,M_L \in \mathbb{R}$ such that $m_L \leq L(t,z,w) \leq M_L$ for all $(t,z,w)$ in that compact set, and the constant functions $t \mapsto m_L$ and $t \mapsto M_L$ belong to $L^1([t_0,t_1])$.
Applying the Filippov-Cesari closure theorem gives a Lebesgue measurable map $u: [t_0,t_1] \to U_c$ and an integrable function $\ell: [t_0,t_1] \to \mathbb{R}$ such that, for $\mathcal{L}^1$-a.e. $t$,
\begin{align*}
\dot{x}(t) = f(t,x(t),u(t)).
\end{align*}
The same closure result places the limiting cost coordinate above the selected running cost:
\begin{align*}
\ell(t) \geq L(t,x(t),u(t))
\end{align*}
for $\mathcal{L}^1$-a.e. $t$. It also gives the essential lower-closure estimate
\begin{align*}
\int_{[t_0,t_1]} \ell(t)\,d\mathcal{L}^1(t) \leq \liminf_{k \to \infty} \int_{[t_0,t_1]} \ell_k(t)\,d\mathcal{L}^1(t).
\end{align*}
This is the point where convexity is used: without convex velocity-cost epigraphs, weak limits of rapidly oscillating controls may produce averaged velocity-cost pairs that do not come from any single admissible control value.[/guided]