BBAI posts steep Q2 losses but leans on record cash and defense-tailwind bets to fuel a high-stakes turnaround.