[lib] Introduce useIsAppBackgroundedOrInactive
[lib] Introduce useIsAppBackgroundedOrInactive

Summary: Created `useIsAppBackgroundedOrInactive` hook

Test Plan: Tested with VideoPlaybackModal (next diff) and hook works as expected.

Reviewers: ashoat, palys-swm

Reviewed By: ashoat

Subscribers: KatPo, zrebcu411, Adrian, subnub

Differential Revision: https://phabricator.ashoat.com/D880

Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal