Add 'query-events' command to QMP to query async events