A Bayesian model for inferring total solar irradiance from proxies and direct observations: application to the ACRIM Gap