The United States faced its stiffest challenge in nearly two decades in the women’s FIBA World Cup and escaped with a win over Italy thanks a few timely baskets late and a key defensive play by Chelsea Gray.