[OpenTK] Protect against invalid axis/button ids