After nearly two years of underperformance, India’s premium over Asian and emerging-market equities has fallen to its lowest since 2018. But faster earnings growth elsewhere could keep global capital away.