fix(core): make user timer waker state thread-safe (#36495)