[native] Replace listDataSelector with useMemo in ChatThreadList
Summary:
This diff is just one step in the process of converting ChatThreadList into a functional component. When this work is done, we will be able to avoid a lot of re-rendering and hopefully improve performance quite a bit.
Depends on D9173
Test Plan: ChatThreadList + search experience continue to work as expected.
Reviewers: ginsu, ashoat, tomek, rohan
Reviewed By: ginsu, ashoat
Differential Revision: https://phab.comm.dev/D9174