As shopping malls struggle to survive in the era of Amazon, communities are looking for new uses for all the retail space. Some empty stores are finding another life as trampoline parks, offices, college classrooms and churches. At the vacant Macy’s in Alexandria, Va., the Carpenter’s Shelter, a nonprofit group, moved into its temporary home last weekend. The former store now provides 60 beds, hot meals and showers.