[lib] Update useCanCreateSidebarFromMessage to prevent sidebar creation for unsupported message types
Summary:
This diff hard codes the unsupported message types for creating sidebars from. The if check is pretty much identical to the conditions in thread-creator right now. This is just to have a quick working solution. The next diff will work on extracting both this and the original check into one single source of truth for what message types should be prevented from having sidebars created from them.
Part of ENG-4849
Test Plan: Confirmed that client-sided, there is no option to create a sidebar from these message types now (specifically toggle pin messages and change role messages)
Reviewers: ashoat, atul, ginsu
Reviewed By: ashoat
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D9237