Microsoft notes that a disappearing mouse cursor may also be observed in OneNote and other Microsoft 365 applications, but that classic Outlook is affected the most.
In order to hide hover cards for inactive apps in taskbar of Windows 11, go to Settings > Personalization > Taskbar > Taskbar behaviors > Uncheck “Show hover cards for inactive and pinned taskbar apps ...