You shouldn't need to worry about PIDs or factorization or anything like that.
The proof that $I\subset A$ is maximal if and only if $A/I$ is a field is a short one, and therefore it is easy to convert your proof that $\mathbb Z[x]/(x,2)$ is a field into a direct proof that $(x,2)$ is a maximal ideal in $\mathbb Z[x]$. Let me show you how that's done.
Recall the proof that $A/I$ is a field $\Rightarrow$ $I$ is a maximal ideal in $A$: Suppose $I\subsetneq J\subset A$. Then there is $x\in J\setminus I$. Now the image $x+I$ of $x$ in $A/I$ is non-zero, so has a multiplicative inverse; i.e., there is $y\in A$ such that $xy+I=1+I$; i.e, $1-xy\in I$. In particular, $1-xy\in J$; since $xy\in J$, it must be the case that $1\in J$; i.e., $J=A$. So $I$ is maximal.
Now the key fact that we used here is the following: if $A/I$ is a field and $x\in A\setminus I$, then there is $y\in A$ such that $1-xy\in I$. Having shown that, it was not difficult to prove that $I$ had to be a maximal ideal.
So how do we show that in this case? Well, it's fairly easy to mirror your proof that $\mathbb Z[x]/(x,2)\cong \mathbb Z/2$ here. Suppose $f\in\mathbb Z[x]\setminus (x, 2)$. $(x, 2)$ is just the set of polynomials whose constant term is even, so $f$ must be a polynomial whose constant term is odd. Can we find a polynomial $g(x)\in\mathbb Z[x]$ such that $1-fg\in(x, 2)$? Easy! Just take $g(x)=1$. In this case, $1-f\in(x,2)$. Indeed, any polynomial with odd constant term would have done here - and that's because the quotient field $\mathbb Z[x]/(x,2)$ only has two elements: $0$ (corresponding to elements of $(x,2)$) and $1$ (corresponding to elements of $\mathbb Z[x]\setminus (x,2)$). To show that this is a field, we need only show that $1$ has a multiplicative inverse; in this case, the inverse is $1$.
Our completed proof then becomes:
Proof. Suppose $J$ is an ideal of $\mathbb Z[x]$ such that $(x,2)\subsetneq J$. Then there exists $f(x)\in J\setminus(x,2)$. Then $f$ has odd constant term, so $1-f$ has even constant term and is therefore contained in $(x,2)$. Therefore, $1-f\in J$. But $f\in J$, and so $1\in J$, and therefore $J=\mathbb Z[x]$.
It follows that $I$ is maximal. $\Box$.