Site-selection and adaptive reconstruction in a two-dimensional nanoporous network in response to guest inclusion