U.S. stocks closed lower in the final session of a tumultuous week as the ongoing geopolitical crisis in Ukraine loomed large.