Find the .desktop file associated with a given X window