Gita Gopinath will leave the Fund in January 2022 and return to Harvard University's Economics Department when her public service leave ends