Lindblad dynamics from spatio-temporal correlation functions in nonintegrable spin- 1/2 chains with different boundary conditions