The quantum Hilbert space of a chiral two-form in d = 5 + 1 dimensions