[PanelShadows] Cache access to QX11Info::display()
It's called several times and even in a loop.
Differential Revision: https://phabricator.kde.org/D1587