[lib] introduce fetch community infos redux action
Summary:
This diff introduces fetchCommunityInfosActionTypes and useFetchCommunityInfos which are needed to introduce the fetch community infos redux action. This action will call the fetch_community_infos endpoint that was introduced in the previous diff
Linear task: https://linear.app/comm/issue/ENG-7916/introduce-community-info-fetchers
Depends on D11995
Test Plan: Dispatched the action and confirmed I was getting the correct response back
Reviewers: tomek, kamil
Reviewed By: tomek
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D11996