DETROIT (Reuters) - The United Auto Workers is talking with Ford Motor Co about ways to avoid layoffs as the No. 2 U.S. automaker builds more electric vehicles, a senior union official told Reuters on Thursday.