No, it is not always attained at a positive semidefinite matrix. The simplest example I have been able to find to demonstrate this is as follows:
\begin{align*} U = \{ (1,0), (0,1), \tfrac{1}{\sqrt{2}}(1,1), \tfrac{1}{\sqrt{2}}(1,-1) \}, \quad \mathbf{x} = (1,2)/\sqrt{5}. \end{align*}
For this optimization problem, the optimal value is $6/5$ (easily found by LP solvers), and here is an example of a Hermitian matrix attaining this value: \begin{align*} H = \begin{bmatrix} 0 & 1/2 \\ 1/2 & 1 \end{bmatrix}. \end{align*}
However, there is no PSD matrix attaining the same value $6/5$. ToI don't see a "nice" way to see this, write \begin{align*} H = \begin{bmatrix} a & b \\ \overline{b} & d \end{bmatrix}. \end{align*} The constraints ofbut if you add the problem implyconstraint that $0 \leq a,d \leq 1$ and$H$ is PSD, then it is now a semidefinite program $0 \leq a + 2\mathrm{Re}(b) + d \leq 1$(and thus solvable), and to getnow has an objective functionoptimal value of $6/5$ we would need $\mathbf{x}^*H\mathbf{x} = (a + 4\mathrm{Re}(b) + 4d)/5 = 6/5$, so $a = 6 - 4\mathrm{Re}(b) - 4d$$(1+\sqrt{2})^2/5 \approx 1.165\ldots \leq 6/5 = 1.2$. Plugging this back into oneThis could be proved rigorously by constructing the dual of the earlier constraints, we see $0 \leq 6 - 2\mathrm{Re}(b) - 3d \leq 1$. Since $d \leq 1$ and positive semidefiniteness implies $\mathrm{Re}(b) \leq 1$, this actually forces $d = \mathrm{Re}(b) = 1$, so $a = 6-4-4=-2$, which contradicts positive semidefinitenessSDP if desired.