Hint: Since each $g$ has support in $[-1,1]$ you can consider each $g \in X$ to be a solution of the Dirichlet boundary value problem $u''(t)=g''(t)$ $(t \in [-1,1])$, $u(-1)=u(1)=0$. Thus for each $g \in X$
$$
g(t)= \int_{-1}^1 G(t,s) g''(s) ds \quad (t \in [-1,1]) \quad (1)
$$
where $G: [-1,1]^2 \to \mathbb{R}$ is Green's function for this boundary value problem. This also yields
$$
g'(t)= \int_{-1}^1 G_t(t,s) g''(s) ds \quad (t \in [-1,1]) \quad (2)
$$
and since $G$ and $G_t$ are bounded on $[-1,1]^2$ the Cauchy-Schwarz inequality gives uniform bounds $\beta_0,\beta_1$ with $\|g\|_\infty \le \beta_0$ and $\|g'\|_\infty \le \beta_1$ for each $g \in X$. Now you can apply Arzela-Ascoli.
Green's functions here is
$$
G(t,s)=-(1-t)(s+1)/2 ~~ (-1 \leq s \leq t \leq 1), \quad G(t,s)=-(1-s)(t+1)/2 ~~ (-1 \leq t \leq s \leq 1).
$$
With that you can also verify (1) and (2) directly.