Verify DOM.enable() exists before calling it

This is for #10191 

Targets `release` branch.

This is the same change made [here](https://github.com/adobe/brackets/blob/release/src/LiveDevelopment/LiveDevelopment.js#L1055) which is `release` branch only, so I guess it needs to be backed out from there?