The basic idea of quantile regression comes from the fact the the analyst is interested in distribution of data rather that just mean of data. Lets start with mean.
Mean regression fits a line of the form of $y=X\beta$ to the mean of data. In other words, $E(Y|X=x)=x\beta$. A general approach to estimate this line is using least square method, $\arg\min_\beta (y-x\beta)'(y-X\beta)$.
On the other hand median regression looks for a line that expect half of the data are on sides. In this case target function is $\arg\min_\beta |y-X\beta|$ where $|.|$ is the first norm.
Extending the idea of median to quantile results in Quantile regression. The idea behind is to find a line that $\alpha$-percent of data are beyond that.
Here you made a small mistake, Q-regression is not like finding a quantile of data then fit a line to that subset (or even the borders that is more challenging).
Q-regression looks for a line that split data into a qroup a $\alpha$ quantile and the rests. Target function, saying check function of Q-regression is
$$
\hat\beta_\alpha=\arg\min_\beta \bigg\{\alpha |y-X\beta| I(y>X\beta) + (1-\alpha) |y-X\beta|I(y<X\beta)\bigg\}.
$$
As you see this clever target function is nothing more that translating quantile to an optimization problem.
Moreover, as you see, Q-regression is defined for a certain quantie ($\beta_\alpha$) and then can be extended to find all quantiles. In other words, Q-regression can reproduce (conditional) distribution of response.