In a policy address peppered with Hollywood allusions and assurances of China’s economic health, President Xi Jinping pledged Tuesday that his country would protect the rights of foreign investors and vowed that the nation would “never close its open door to the world.”