Causal machine learning to optimize treatment decisions for patients with endometrial cancer