[lib] Update isThreadWatched to handle RawThreadInfo
Summary:
Handle more generic RawThreadInfo over LegacyRawThreadInfo.
Depends on D10195
Test Plan: flow/CI/etc.
Reviewers: ashoat, ginsu, tomek, rohan
Reviewed By: rohan
Differential Revision: https://phab.comm.dev/D10197