Note that $f$ and $g$ are uniformly continuous. Let the metric $d$ on $[0,1]\times[0,1]$ be $d((a,b),(x,y))=|x-a|+|y-b|$. This is equivalent to the usual metric. Fix $\varepsilon>0$ and pick $\delta_1,\delta_2>0$ so small that if $|a-b|<\delta_1$, then $|g(a)-g(b)|<\dfrac{\delta_2}{2}$ where if $d((a,b),(x,y))<\delta_2$, then $|f(a,b)-f(x,y)|<\varepsilon$. Let $x_0\in[0,1]$ and $\delta=\dfrac{1}{2}\min\{\delta_1,\delta_2\}$.
If $|x-x_0|<\delta$, then $|h(x)-h(x_0)|=\left|\sup_{g(x)\le t\le 1}f(t,x)-\sup_{g(x_0)\le t\le 1}f(t,x_0)\right|$. The sups are attained because of compactness, so we may as well let $f(a,x)=\sup_{g(x)\le t\le 1}f(t,x)$ and $f(b,x_0)=\sup_{g(x_0)\le t\le 1}f(t,x_0)$. Note that $|f(g(x),x)-f(g(x_0),x_0)|<\varepsilon$ as we contrived that $|g(x)-g(x_0)|+|x-x_0|<\delta_2$.
First suppose that $a$ and $b$ do not lie between $g(x)$ and $g(x_0)$. Then $f(a,x)
Now suppose WLOG that $b$ is between $g(x)$ and $g(x_0)$ (the case of $a$ is identical). We have that $|f(a,x)-f(a,x_0)|<\varepsilon$ and $|f(g(x),x)-f(b,x_0)|<\varepsilon$. Hence, $f(a,x)<\varepsilon+f(a,x_0)\le \varepsilon+f(b,x_0)$ and $f(b,x_0)<\varepsilon +f(g(x),x)\le \varepsilon +f(a,x)\ldotp$ Hence, $|f(a,x)-f(b,x_0)|<\varepsilon$.
Hence, $h$ is continuous.