Mechanics-Informed Autoencoder Enables Automated Detection and Localization of Unforeseen Structural Damage