InputMethod:disconnect from waylandServer before destroying connection

Closed Xaver Hugl requested to merge work/IM-stop-crash into master

Merge request reports