Proof (Galois theory of compositum)
$L_1/K$ is Galois
$L_1L_2/L_2$ is Galois
By classification, $L_1$ is a splitting field of a separable polynomial $f$ over $K$. Then $L_1 L_2$ is a splitting field of $f$ over $L_2$ and $f$ is still separable, so $L_1L_2/L_2$ is Galois.
Well-defined group injection
If $σ\in \Aut(L_1L_2/L_2)$, then by definition $σ\in \Aut(L_1L_2/K)$, and we showed since $L_1/K$ is normal, $σ|_{L_1}$ is an automorphism of $L_1$. Hence the group homomorphism is well-defined. Moreover if $σ$ is in the kernel, then $σ|_{L_1} = \id_{L_1}$ and $σ|_{L_2} = \id_{L_2}$, so $σ = \id_{L_1L_2}$. Hence the homomorphism is injective.
Surjectivity
It is surjective iff $\#\Gal(L_1L_2/L_2) = \#\Gal(L_1/K)$, which by classification is equivalent to saying $[L_1L_2:L_2] = [L_1:K]$.
If $\#\Gal(L_1L_2/L_2) = \#\Gal(L_1/K)$, then since $$ \begin{align*} \Gal(L_1L_2/L_2) \xhookrightarrow{\text{restriction}} \Gal(L_1/L_1\cap L_2) \hookrightarrow \Gal(L_1/K), \end{align*} $$ we have $\Gal(L_1/L_1 \cap L_2) = \Gal(L_1/K)$, so by correspondence, $L_1 \cap L_2 = K$.
Conversely, suppose $L_1 \cap L_2 = K$. By the primitive element theorem, as $L_1/K$ is finite and separable, let $L_1 = K(α)$ and $f\in K[X]$ be the minimal polynomial of $α$ over $K$. Since $L_1L_2 = L_2(α)$, it suffices to show $f$ is also the minimal polynomial of $α$ over $L_2$, i.e. $f$ is irreducible in $L_2[X]$, since then $$ \begin{align*} [L_1 L_2 : L_2] = \deg f = [L_1:K]. \end{align*} $$
Let $f = gh$ for $g,h\in L_2[X]^\times$. Since $f$ splits into linear factors over $L_1$, in $L_1L_2[X]$, we have that $g,h$ are products of linear factors in $L_1[X]$, so $g,h\in L_1[X] \cap L_2[X] = K[X]$. But $f$ is irreducible over $K$, so either $g$ or $h$ is constant. Thus $f$ is irreducible over $L_2$.
$L_1/K$ and $L_2/K$ are Galois
$L_1L_2/K$ is Galois
Since $L_i/K$ is Galois, $L_i$ is a splitting field of some separable polynomial $f_i\in K[X]$. Then $L_1 L_2$ is a splitting field of the separable polynomial $\op{lcm}(f_1, f_2)$. Thus $L_1 L_2/K$ is Galois.
Well-defined group injection
If $σ\in \Gal(L_1L_2/K)$, then $σ|_K = \id$ and $σ(L_i) = L_i$ by normality. Therefore the group homomorphism is well-defined. It is injective since if $σ|_{L_1} = \id$ and $σ|_{L_2} = \id$, then $σ$ acts trivially on $L_1L_2$.
Surjectivity
By the tower law, $$ \begin{align*} [L_1 L_2 : K] = [L_1 : K] [L_{1}L_2:L_1] \end{align*} $$ so $[L_1L_2:K] = [L_1:K] [L_2:K]$ iff $[L_{1}L_2 : L_1] = [L_2:K]$, which by part 1 holds iff $L_1\cap L_2 = K$.