Gita Gopinath, the IMF’s outgoing number two official, reflects on six tumultuous years for the global economy