Can any QBI carryforward losses be used to reduce a QBI business' capital gains?
Not really.
The QBI loss will lower any QBI available on the next year's return.