I am not sure whether the question asks about the function being convex, or simply the demand correspondence/function being a convex set. The latter is often asked and if that is the case here is an answer.
This is a general answer to your question which may be more useful to you and future readers than a specific one.
The following theorem holds in general:
Theorem: If preferences are convex, then the marshallian demand x(p,w) is a convex set for every p>>0 and $w \ge 0$.
Note: p>>0 here means that every element of the price vector is strictly positive.
Proof:
The Budget set $B(p,w) \equiv \{ x \in \mathbb{R}_+^n:px \le w \} $ is a convex set.
If two points $ x, x' \in x(p,w )$, then x ~ x' (the consumer must be indifferent between the two as they are both part of x(p,w), i.e. his best choice. If one of them would be better than the other, then only the best one would be part of x(p,w) as the marshallian demand is derived from maximization.)
For all $\alpha \in [0,1]$ we have that $\alpha x + (1-\alpha)x' \in B(p,w)$ by convexity of B(p,w). Furthermore, $\alpha x + (1-\alpha)x'\succeq x$ by the convexity of preferences. Therefore $\alpha x + (1-\alpha)x'\in x(p,w)$
Q.E.D.
Your preference relation is convex, so the theorem applies and your set x(p,w) is convex. Note that a preference relation is (strictly) convex if and only if the utility function is (strictly) quasiconcave. Your utility function as far as I can see is concave, which implies it is quasiconcave, which implies convex preferences.
Further note that if preferences are strictly convex, then x(p,w) is single-valued for every p>>0 and $w \ge 0$. Hence in that case x(p,w) would be a convex set as a point is a convex set.