A migrant has been arrested on suspicion of raping a 13-year-old girl he groomed online from his state-funded room in university halls.