Investors are buying emerging-market assets like they’re going out of style. Are they nuts?