[web] [refactor] move use unread into its own hook
Summary:
Move unread toggle into it's own hook. This functionality is used in native as well.
https://linear.app/comm/issue/ENG-861/refactor-unreadstatus-into-hook-for-both-native-and-web
Test Plan: Toggle unread in web, make sure the functionality still works.
Reviewers: atul, palys-swm
Reviewed By: palys-swm
Subscribers: ashoat, Adrian, karol-bisztyga
Differential Revision: https://phabricator.ashoat.com/D3418