Dirac cohomology on manifolds with boundary and spectral lower bounds