A Baltimore hospital’s workers union earned the right to unionize after a federal appeals court backed its bargaining order and said the hospital had to enforce it despite its objections.