NEW YORK—In a section of the city squarely identified with basketball, even the third-ranked player in women’s tennis was talking hoops. She wasn’t a huge fan of the sport growing up.