Lattice Boltzmann algorithm for three-dimensional simulations of plasma turbulence