Man charged with trying to kidnap 14-year-old girl