Time-to-Event Pretraining for 3D Medical Imaging