[lib] Introduce useOnScreenEntryEditableThreadInfos
Summary:
Replace onScreenEntryEditableThreadInfos with hook which consumes useThreadsWithPermission introduced in D11924.
Depends on D11924
Test Plan:
flow + close reading for now
Checked ThreadPickerModal on web (skipped native, but assuming everything is the same since lib) and ensured that threads appeared as expected.
Reviewers: ashoat, ginsu, tomek, varun, will
Reviewed By: ashoat
Differential Revision: https://phab.comm.dev/D11925