Dissipative self-assembly of vesicular nanoreactors