The east wing of the National Gallery was evacuated Saturday after the man, whom the police later said had “no fixed abode,” twice slashed the surface of Thomas Gainsborough’s “The Morning Walk,” a 1785 commissioned portrait of a young couple and their dog.