Random weighting-based quantile estimation via importance resampling