I have used OpenXR plugin and used the GetMotionControllerData() to setup the Teleport.
Written the following code. I have not set SetTrackingSource() because by default it will take OpenXR if enabled.
FXRMotionControllerData ControllerData;
IXRTrackingSystem* TrackingSys = GEngine->XRSystem.Get();
TrackingSys->GetMotionControllerData(GetWorld(), EControllerHand::Right, ControllerData);
FVector Start = ControllerData.AimPosition;
FVector End = Start + ControllerData.AimRotation.GetForwardVector() * TPRange;