Spatially resolved Kennicutt–Schmidt relation at z ≈ 7 and its connection with the interstellar medium properties | Synapse