Gate control of Mott metal-insulator transition in a 2D metal-organic framework