A jury in Virginia has awarded software company Appian Corp. more than $2 billion in damages, finding that its competitor, Pegasystems Inc., …