Quantifying the evolutionary potential and constraints of a drug-targeted viral protein