By Daniel Wiessner (Reuters) -A federal judge in Texas on Friday said American Airlines (NASDAQ:) violated federal law by basing investment decisions for its employee retirement plan on environmental, social and other non-financial factors. The ruling by U.S. District Judge Reed O’Connor appeared to be the first of its kind…