WASHINGTON — Corporate brands have waded into fraught political territory during the first two years of the Trump presidency — clashing with the president and his allies on polarizing issues such as gun ownership and immigration. Companies are increasingly taking stances on social and political issues important to their employees, customers and the broader public, even if it riles others.