Ab initio quantum-enhanced optical phase estimation using real-time feedback control