Confinement-induced self-organization in growing bacterial colonies