Measurements of $CP$ violation in the three-body phase space of charmless $B^{\pm}$ decays}