flatpak: don't query icons over and over
with many resources the KIconLoader call was actually super expensive as we kept looking through the icon directories N times. instead query all icon names once and then just hold them in memory for future lookup. also use a qset for extra fast lookup.
this takes constructing from taking up to 24ms to 0ms (except for the first time obviously ;))