input: fix send-key monitor command release event ordering