Fracture mechanics determine the lengths of interface ruptures that mediate frictional motion