A high black hole to host mass ratio in a lensed AGN in the early Universe