Xi Jinping’s Davos speech in defence of economic openness might have rung hollow for foreign investors in his own country