Restricted Lie algebras having a distributive lattice of restricted subalgebras