Quantum Hall hierarchy from coupled wires