Labor promises to hold inland rail inquiry