A North Yorkshire Police officer failed to act on a reported rape, a misconduct hearing has found.