A data-driven Bayesian approach for finding young stellar populations in early-type galaxies from their ultraviolet-optical spectra