Pope warns against becoming a ‘sedentary’ church after synod’s close