Learning Dexterous Manipulation with Quantized Hand State