Rebecca Knaak's late strike saw Manchester City beat Liverpool 1-0 and take a step closer to the WSL title.