A Bradford man who stood trial charged with encouraging or assisting the suicide of a teenage girl has been found not guilty.