Density Encoding Enables Resource-Efficient Randomly Connected Neural Networks