This question arises in STEP 2011 Paper III, question 2. The paper can be found here.
The first part of the question requires us to prove the result that if the polynomial
$$x^{n}+a_{n-1}x^{n-1}+a_{n-2}x^{n-2}+\ldots+a_{0}$$
where each of the $a_{n}$ are integers, has a rational roots if and only if that root is an integer. It does not give a name for this result.
EDIT: user69810 has pointed out that this is in fact the rational root theorem.
We are then to use this result to prove that the polynomial $$x^{n}-5x+7=0$$
has no rational solutions for $n\ge 2$. My argument was the following:
If there exists a rational root, then it must be an integer.
If there exists an integer root, then $$x^{n}=5x-7$$
for some integers $x$ and $n\ge 2$. Then the LHS is divisible by $x$, meaning that $7$ must be divisible by $x$. Therefore $x \in \{-7,-1,1,7\}$. Checking each of these shows that there is no rational root.
Is this solution correct? It isn't the one in the solutions, but if it's right then I think it's more elegant than theirs.
You have identified the possible rational roots correctly and shown that none of them work. It is a fine application of the rational root theorem.