A new ruling by a federal appeals court means managers in a growing number of states must accept what, for many, is a troubling reality—their employees have the legal right to keep guns in their cars at work, even with layoffs on the rise and economic tensions running high.