Quantum order-by-disorder induced phase transition in Rydberg ladders with staggered detuning