NSW cybercrime detectives are investigating after the leaking of court documents including apprehended violence orders.