Tax has emerged as a key battleground in the race to replace Boris Johnson as prime minister.