Membraneless protocell confined by a heat flow