The NBA star's presence at the women's final provided a memorable moment despite Pegula's loss to Aryna Sabalenka.