Fixed points and nonexpansive retracts in locally convex spaces