[native] Move DeleteThread logic for determining ThreadInfo to hook
Summary:
This mirrors the same migration that we did for this logic in ThreadSettings.
Depends on D6594
Test Plan: Flow, code inspection / comparison to ThreadSettings code. Also tested in combination with following diffs
Reviewers: atul
Reviewed By: atul
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D6595