The current and potential 2024 presidential candidates showed strong support for gun owners’ rights — a core issue for the party’s base, but one that can be a tougher sell in a general election.