Emulsion of polyurethane having thermosetting properties. I. Preparation