A sex predator who raped a teenage girl he discovered alone in the street has been jailed for seven years