High court upholds law barring domestic abusers from owning guns