Learning Gradient Fields for Scalable and Generalizable Irregular Packing