[web] Replace threadHasPermission with useThreadHasPermission in ChatInputBar
Summary:
Similar to D11748, but for ChatInputBar.
Depends on D11748
Test Plan:
flow + close reading.
Will test generally at end to make sure things work as expected. Don't think it's practical to manually test each of these trivial changes.
Reviewers: ginsu, tomek, varun, will
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D11749