Panhandle barrel racing track loses legal fight