The IMF director is optimistic that CBDCs could replace cash in the global financial system—if central banks follow the org's handbook.