T-folds, doubled geometry, and the SU(2) WZW model