Bayesian electron density inference from JET lithium beam emission spectra using Gaussian processes