Qubit readout using in-situ bifurcation of a nonlinear dissipative polariton in the mesoscopic regime