Time domain reflectometry-based liquid level sensor