The problem with your reasoning is rooted, so to speak, in the fact that the problem, as stated both here and in the original link, is very poorly posed. It barely makes sense to talk about the limit of a polynomial as one of its roots tends to infinity, and whatever that notion means, it's absent from the expression $\lim_{x\to\infty}\left(P(x)\over5(x-1)\right)^x$. I suspect what's really meant is the following double limit:
$$\lim_{x\to\infty}\left(\lim_{\alpha\to\infty}(a(\alpha)x^2+b(\alpha)x+c(\alpha))\over5(x-1) \right)^x$$
where $a=a(\alpha),b=b(\alpha),c=c(\alpha)$ are (the unique) solutions of the system of equations
$$\begin{align}
\alpha^2a+\alpha b+c&=0\qquad\text{i.e., }P(\alpha)=0\\
4a+2b+c&=9\qquad\text{i.e., }P(2)=9\\
6a+b&=5\qquad\text{i.e., }P'(3)=5
\end{align}$$
In other words, before you take the limit as $x$ goes to infinity, you have to solve for the coefficients of $P$ as functions of $\alpha$, then take the limit of what you get as $\alpha$ goes to infinity, and only then take the limit of what's left as an expression in the variable $x$. The answer by heropup at the original, linked question, discusses all this.
As for what's wrong in your reasoning, it has a certain superficial logic to it. Indeed, when writing a limit expression, you can use any variable you like, so $\lim_{x\to\infty}P(x)=\lim_{\alpha\to\infty}P(\alpha)$, at which point one is tempted to say that, since $\alpha$ is a root of $P$, which we want to take to infinity, we have $$\lim_{x\to\infty}P(x)=\lim_{\alpha\to\infty}P(\alpha)=\lim_{\alpha\to\infty}0=0$$
The trick is, when picking a dummy variable to express a limit (or a sum, or whatever), you're not supposed to pick a variable that's already been assigned a meaning. So when I said you can use any variable you like, that was a lie; there are rules that limit, so to speak, how you can express the taking of a limit. Usually the restrictions are obvious; in this case they're not, but that's mostly because of how poorly posed the problem is.