A geometric Hamiltonian description of composite quantum systems and quantum entanglement