A woman in her 40s was hospitalised after a crash closed one of Wiltshire’s busiest roads.