Let's say $X \sim D$, ie. $X$ is a random variable following some distribution $D$.
Then the first moment of $X$ is defined as $E[X] = \int x\hspace{1mm}f(x)\hspace{2mm}dx$
And the first moment of $X$ is defined as $E[X^2] = \int x^2\hspace{1mm}f(x)\hspace{2mm}dx$
Looking at this, I'm interpreting the notation as "there exists a distribution $X^2$, we don't know what its cdf/pdf is... but it just so happens that we can calculate its expectation by that integral".
That is, let $S = X^2$, then $E[S] = \int s\hspace{1mm}f(s)\hspace{2mm}ds = \int x^2\hspace{1mm}f(x)\hspace{2mm}dx$
If I understood this correctly, then what exactly is the distribution of $X^2$?