I cannot think of any particular food that would do this.
Anything that makes the chick constipated would make the poop less runny-- but then you would have the problem of a constipated chick, and that can cause serious health issues really fast, so I would not recommend doing that on purpose...