Lack of relationship cited by NY judge in thrown out lawsuit