The step from your second to your third line carries out three steps at once. Two of them are valid, but one is not, but as they are tangled together, it is not obvious which is the error. I'll give you some clues to find the mistake yourself.
You swap the limit and logarithm, $\lim \left(\ln z\right)=\ln\left(\lim z\right)$. Recall that it is valid to move the limit inside of any continuous function.
You twice distribute a limit over a product of terms, $\lim(a\cdot b)=\lim a \lim b$. Recall that this is valid iff the limits of the terms exist individually. You first do this over $\displaystyle \lim \left(\frac{2}{x}\cdot \ln z\right)$ and then do it over $\lim \left(e^x\cdot \ldots\right)$.
Can you spot the error now?
Ultimately, your mistake gives you an indeterminate form of the form $\displaystyle\frac00$. Limits of these forms can equal any value, depending on how fast the numerator and denominator grow relative to one another. Essentially, you were correct that the numerator, by itself, would be $0$, but for expressions of this type, you must address both the numerator and denominator together. This is how you got the wrong value.