Applying AI to pathology reveals insights in endometrial cancer diagnostics