Phases of 5D Quantum Theories, Monopole Walls, and Secondary Polyhedra