app: Remove old GimpUiManager popup API

The code used `gtk_menu_popup()`, which was deprecated a while ago, as
it was broken on certain GDK backends, like Wayland.

Fixes #5319
7 jobs for !526 with nielsdg/fix-context-menus in 32 minutes and 57 seconds (queued for 2 seconds)
merge request