First measurement of the total gravitational quadrupole moment of a black widow companion