A radio parallax to the black hole X-ray binary MAXI J1820+070