Maguire rescues England with late winner against Poland