A quantum cosmology approach to cosmic coincidence and inflation