Expose internal id to declarative scripts
Summary:
A declarative script may need to access internal id in order to
create an instance of WindowThumbnailItem.
Reviewers: KWin, davidedmundson
Reviewed By: KWin, davidedmundson
Subscribers: kwin
Tags: KWin
Differential Revision: https://phabricator.kde.org/D23671