[lib] Introduce useCanToggleMessagePin and consume in native/Message
Summary:
Hook version of canToggleMessagePin so we can consume useThreadHasPermission instead of threadHasPermission.
Will leave canToggleMessagePin around since we can still use it on keyserver with RawThreadInfo.
Depends on D11818
Test Plan: flow + close reading
Reviewers: ashoat, ginsu, tomek, varun
Reviewed By: ashoat
Differential Revision: https://phab.comm.dev/D11819