[Plasma Dialog] Call window effects only if visible
It spends 160ms in total on plasmashell startup for me here.
Differential Revision: https://phabricator.kde.org/D9223