With many aspects of community-focused holy month banned or curbed, governments and charity groups from Gaza to Indonesia attempt to balance tradition and caution