1) Use Dynamics on line 1 and make it a gate with whatever parameters (just don't use look-ahead, filtering, or input/output gains, it needs to be linear).
2) Use Math in line 2 in mode "Subtract", set its input to 2 and sidechain to 1, and set the "Maximum" parameter to the maximum to avoid clipping. That's all.
How does it work: Dynamics performs a gate, so if something is too silent, it doesn't go through, if it is loud, it does. Math simply subtracts the gated signal from input (that's why the input is 2, so that it goes "around" the gate). The gate is "linear", which means it only applies some gain, therefore if you subtract the results from the input, you get "what's missing in the gated signal", and hence when the line 1 is mixed with line 2 afterwards, you have the original signal.
So in line 1 you have the loud signal and in line 2 you have what's missing
This is an example, where only loud parts get the reverb

Great thing about this is that it is extremely versatile... And for example you can do the same trick with "Transient", just use that processor instead, and set attack to minimum and potentially even sustain to maximum (it will work kind of the opposite way).
