Uncertainty-aware predictions of molecular X-ray absorption spectra using neural network ensembles