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

Change validation method, as discussed on #2381
`return connection && [ 'disconnected', 'protocol_error' ].indexOf( connection.state ) !== -1` ?