Positive operator-valued measure reconstruction of a beam-splitter tree-based photon-number-resolving detector