A court in Myanmar sentenced four members of a family to as much as 16 years in prison with hard labor on Friday after finding them guilty of enslaving and abusing their two teenage maids, in a case that has prompted widespread public outrage over the girls’ treatment.