A Co Down man has been acquitted of raping a sex worker at knifepoint after the woman admitted she had lied to police.