On-demand maximally entangled states with a parity meter and continuous feedback