Text this: Two-Stage Damage Identification in Beam Structures Using Residual-Based Wavelet Contrast Index and Improved Dung Beetle Optimizer.