Discovery of the X-ray counterpart to the gravitational wave event GW 170817 1