Hylleraas-type wavefunction for lithium hydride