A Bayesian model for inferring properties of the local white dwarf population in astrometric and photometric surveys