A Virginia software company has won a $2 billion trade secrets verdict against a Boston-based competitor.