doc: remove unused imports from worker_threads.md
Remove unused imports from worker_threads.md.
- Removed
once
import fromnode:events
as it was not used in the code. - Removed
isMainThread
import fromnode:worker_threads
as it was not used in the code.