Fix race condition on exit of SpeechViewer (#6201)
When exiting nvda with the speechViewer window open, sometimes destroy
is called before the queueHandler has finished speaking all text (and
then calling the speechViewer). This update stops the speechViewer from
being accessed after the window is destroyed.