Local well-posedness for the quasi-linear Hamiltonian Schrödinger equation on tori