Text this: Shape-aware medical image segmentation via frequency domain partitioning