The magnetic field of the chemically peculiar star V352 Peg