Injured Milwaukee officer leaves hospital after being shot