Facing lawsuits from attorney generals, DraftKings founders not only had to fight legal battles but also had to figure out how to keep their business afloat.