Change popup notification logic
In an attempt to remove the 'autopopup_chat_opened' setting, we now opt to not showing a popup only in the case where Gajim is the focused application and the contact's ChatControl is focused inside Gajim. For all other cases, a notification popup is shown.
Closes #9456 (closed)