Right click the username and click "Query"

Alternatively you can change Alt+O -> Mouse -> Message to perform the /query command instead of whois to start a query by double clicking (rather than using the above popup).

You can also just type /query NICKNAME