Window shading in MacOS Mojave (10.14)

Solution 1:

Although you said free, there is a paid app that seems to offer a similar feature.

Deskovery claims to "Minimize your windows to their titlebars".

I haven't used it.