In 2016, international investors owned an average of 21% of local-currency bonds in emerging markets. Now that figure is just 13%.