In-Context Probing Approximates Influence Function for Data Valuation