Optical manipulation of a multilevel nuclear spin in ZnO: Master equation and experiment