Eleanor Catton, Schriftstellerin