A one-year-old child has been left with life-threatening injuries following a serious collision on a Wiltshire A-road.