Nuclear density functional constrained by low-energy QCD