The gravitational mass of Proxima Centauri measured with SPHERE from a microlensing event