Writer-in-residence wins major prize