Fix UxDataset constructor and to_xarray() that got broken with xarray==2026.4.0
#1492
+33
−2
to_xarray() that got broken with xarray==2026.4.0
#1492