It’s true you can’t open and exit door in flight, the pressurized cabin won’t let you. However, you’ve still got a violent passenger on board so a divert is warranted even if he is subdued.
Just knock him/her out, tie him/her up, stuff in overhead bin. Keep flying.