"There is no valve that can differentiate between air and liquid to the point where it can let one pass, but not the other".
Other than an automatic air-bleed valve of course, but that's not what the OP is looking for.
As 3DDave says, it's basically a check valve but you may struggle to find one that's 100% leak-proof when used with air.