A captain of an Aer Lingus Boston-bound flight turned the aircraft around over the Atlantic Ocean after being informed that a male passenger had inappropriately touched a teenage girl sitting beside him on the flight, a court has heard.