Destruction of string order after a quantum quench