You didn't looked at the right side of the expression you had differentiated.
I.e., tanθ = √1-x2x ........I
When You differentiate, the right side is as you have shown but,
sec2θ . dθdt = expression you have written ....
Now, Find sec2θ . dθdt from relation I