Nanotechnology-enabled implant that controls intraocular pressure in the eye to treat open-angle glaucoma