Estimation of the spatial weighting matrix for regular lattice data -- An adaptive lasso approach with cross-sectional resampling