[native] Lift renderSearch to ConnectedChatThreadList
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.
NOTE: There's a lot that can be refactored/improved/optimized. This is just to make progress on converting class component to functional component.
Depends on D9164
Test Plan: ChatThreadList + search experience continue to work as expected.
Reviewers: ginsu, tomek, rohan
Reviewed By: ginsu
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D9166