Filing: Musk and X agree to settle a lawsuit by Tw