The magnetic field at milliarcsecond resolution around IRAS 20126+4104