Pershing Square Holdings, the publicly traded security of Bill Ackman’s activist hedge fund, lost gains made this year and fell into the red amid recent market volatility tied to China.