For $n<0$ it is not well defined.
For $n = 0$, it is clearly not a metric and for $n = 1$ it clearly is.
If $n \in (0, 1)$, it is indeed a metric. Symmetry and "$d(x, x) =0 \iff x=0$" are obvious. We know that in this case we have for $a, b \in (0, \infty)$:
$$
(a+b)^n \leq a^n+b^n.
$$
To prove this, observe that $g:(0, \infty)^2 \rightarrow \mathbb{R}$, $g(x, y) := (x+y)^n - x^n - y^n$ is decreasing in $x$ and $y$, i.e. $\partial_x g \leq 0$ and $\partial_y g \leq 0$.
The above gives us the triangle inequality if we do the following ($x, y, z \in X$):
$$
d(x, z)^n \leq (d(x, y) + d(y, z))^n \leq d(x, y)^n + d(y, z)^n
$$
If $n>1$ we simply can not be sure. Let $X := \mathbb{R}$ and $d:X \rightarrow [0, \infty)$ be the discrete metric
$$
d(x, y) :=
\begin{cases}
1 &, \text{ if } x \neq y \\
0 &, \text{ else}.
\end{cases}
$$
Then $d^n = d$ is still a metric. But if we choose $d(x, y) := \lvert x - y \rvert$, then $d^n$ is not a metric. Note that
$$
d^n(x,z) > d^n(x, y) + d^n(y, z)
$$
for $x=\frac{5}{4}$, $z = 0$ and $y=\frac{1}{4}$. So the triangle inequality is violated.