Hitting enter no longer shows chat window when chat is disabled.

When chat is disabled (QXMPP library not available or XMPP disconnected)
hitting enter would show the chat window, even when the Tools -> Chat
menu item is grayed out!
Merge pull request #2579 from brotchie/master

Hitting enter no longer shows chat window when chat is disabled