doc: fix punctuation issue in async_hooks.md
Move period incorrectly placed outside of parentheses to inside the parentheses. The parenthetical in this case is a full sentence.
Checklist
-
documentation is changed or added -
commit message follows commit guidelines