add a way to retrieve the id of the input method window

maybe not useful, was for a composition experiment
rip out self composition code

we can reuse lipstick's composition code easily
expose the window id of the input method for applications to composite it