CHICAGO, Ill.—A federal appeals court based here says public fire districts in Illinois have a legal right to be in the fire alarm monitoring business, but can’t displace the private fire market in doing so.