Pressure-driven filling of liquid metal in closed-end microchannels