Probing Leidenfrost effect via contact electrification