Droplet printing reveals the importance of micron-scale structure for bacterial ecology