[NTUSER] Improve NtUserGetThreadState (#4300)