Kostyuk's work to separate her self-worth from her results has led to the flourishing of a player whose talent was never in doubt.