Autoencoder-based framework for anomaly detection in stellar spectra: Application to the MaNGA Stellar Library | Synapse