Fix crash in words on exit
We get an inputMethodQuery after canvascontroller is deleted. Set canvasController in the canvas to nullptr on delete and check for it in KWCanvas::inputMethodQuery()
We get an inputMethodQuery after canvascontroller is deleted. Set canvasController in the canvas to nullptr on delete and check for it in KWCanvas::inputMethodQuery()