Towards an invariant geometry of double field theory