A design project seeks to save threatened religious spaces by reimagining their use as community hubs—for neighbors new and old