A social worker has been struck off after "predatory behaviour" towards a child in laybys in Inverclyde.