Topological geometry and control for distributed port-Hamiltonian systems with non-integrable structures