A model-independent measurement of the CKM angle $γ$ in the decays $B^\pm\to[K^+K^-π^+π^-]_D h^\pm$ and $B^\pm\to[π^+π^-π^+π^-]_D h^\pm$ ($h = K, π$)