A journalist has been detained in Jordan after she refused to give up her daughter following the overturning of a custody decision in her favour.