[lib] Remove LegacyThreadInfo and legacyThreadInfoValidator
Summary:
Part of https://linear.app/comm/issue/ENG-6366/rename-minimallyencodedrawthreadinfo-to-rawthreadinfo
Depends on D10720
Test Plan: flow
Reviewers: ashoat, ginsu, tomek
Reviewed By: ashoat
Differential Revision: https://phab.comm.dev/D10721