You can’t. Since the “Sound Detection” Event Recording and “Smart Sound Detection - Talking” settings are not provided as Rules Actions and are not integrated into Alexa Routines or the like, it isn’t possible to automate those Toggles.
It is always being improved and functionality \ features are added regularly. Just check out the Wishes Granted list for proof.
Users suggest features by posting in the Wishlist. Your feature request would be a post in:
Follow the link, Vote at the top, Like some posts, Add your reply to the thread.