Dragging fix for https://github.com/phetsims/circuit-construction-kit-common/issues/239.
Dragging fix for https://github.com/phetsims/circuit-construction-kit-common/issues/239.

If dragging=false, don't let endDrag() or pointer listeners do anything
If dragging=true, don't let startDrag() happen

phetsims/scenery,phetsims/scenery,phetsims/scenery