Solution (source code)

= Solution

The joint process is a two-dimensional <Compound Poisson process> whose <Lévy measure> is
$$
\nu(B)=\lambda\,\operatorname{Leb}
\{y\in[0,1]:(g_1(y),g_2(y))\in B\}.
$$
Two coordinates of a Lévy process are independent exactly when its Lévy measure charges only the coordinate axes and its Gaussian covariance has no cross term. Here there is no Gaussian part, so independence is equivalent to
$$
g_1(y)g_2(y)=0
\quad\text{for almost every }y.
$$
Since $g_1g_2$ is continuous, this is equivalent to pointwise vanishing. Conversely, when the product vanishes, the mark sets where $g_1$ and $g_2$ are nonzero are disjoint; independent thinning of the <Poisson random measure> gives independent coordinate processes. Hence
$$
\boxed{(X_t^{g_1})_{t\geq0}\text{ and }(X_t^{g_2})_{t\geq0}
\text{ are independent}
\iff g_1(y)g_2(y)=0\ \text{for every }y\in[0,1].}
$$