The crucial result one uses here is that if $0 \in U$ bounded region and $g:U \to U$ an analytic self-map of $U$ with Taylor series at the origin $\sum a_k(g)z^k$ then $|a_k(g)| \le C_{k,U}$ for some constant independent of $g$ (depending only on $k,U$)
Assume this and use the hint considering $f(z)=z+a_2z^2+...a_nz^n+..$ as in the hypothesis and let's prove that $a_n=0, n \ge 2$ by induction (this proves that $f(z)=z$ on an open set containing zero where the expansion is valid, hence by the identity theorem, $f(z)=z$ in the whole region $U$).
Notice that for $f_n=\underbrace{f\circ\cdots\circ f}_{n}$ we have $f_2(z)=f(z)+a_2f(z)^2+..=z+2a_2z^2+z^3g_2$ so immediately $f_n(z)=z+na_2+z^3g_n$, while if $U$ is contained in a ball centered at $0$ and of radius $M$, we have $|f_n(z)| \le M, z \in U$ as all $f_n$ are self-maps of $U$ hence $n|a_2|=|a_2(f_n)| \le C_2$ which forces $a_2=0$
Now assuming $a_2=..=a_{k-1}=0, k \ge 3$. let's show that $a_k=0$ and the method should be clear as now $f(z)=z+a_kz^k+z^{k+1}h_1$ implies $f_2(z)=f(z)+a_kf(z)^k+...=z+2a_kz^k+z^{k+1}h_2$ and hence $f_n(z)=z+na_kz^k+z^{k+1}h_n$, so again by the result above $n|a_k| \le C_k$ for all $n$ hence $a_k=0$ and we are done modulo said result
(which is an easy consequence of Cauchy theorem applied to a closed disc centered at zero of fixed radius $r$ contained in $U$ with boundary circle $C$, for which $|a_k(g)|=|g^{(k)}(0)/k!|=|\frac{1}{2\pi i}\oint_C \frac{g(w)dw}{(z-w)^{k+1}}| \le \frac{M}{2\pi r^k}=C_{k,U}$ as required, where as before the disc centered at zero and of radius $M$ conatins $U$, so any self-map of $U$, satisfies $|g(z)| \le M$))