A Bayesian Framework for Exoplanet Direct Detection and Non-detection