NEW YORK — Wall Street’s record-breaking rally ran into a wall Wednesday, as worries about potentially worsening trade tensions with China hit stocks of chip companies. That dragged indexes to their worst day in months, but conditions may have been less discouraging underneath the surface.