dialects.mysql.connection-manager: Use `connection._protocol._ended` state on $validate

Change validation method, as discussed on #2381
This looks dirty, any official API backing this up - And if not, any way we can test for it?