Exactly solvable scaling theory of conduction in disordered wires