Fixed points of endomorphisms of trace monoids