Next-to-next-to-leading order spin–orbit effects in the near-zone metric and precession equations of compact binaries