Optically induced rotation of a quantum dot exciton spin