Hilbert space fragmentation in a 2D quantum spin system with subsystem symmetries