Retail conglomerate Wesfarmers has defied a cost-of-living crisis as more Australians shop with two of its biggest brands.