Search for black holes and sphalerons in high-multiplicity final states in proton-proton collisions at $\sqrt{s} =$ 13 TeV