Searching for star–planet interactions within the magnetosphere of HD 189733