Portugal is attempting to curb its brain drain by offering significant tax breaks and housing assistance to young workers, hoping to stem the flow of skilled labor to higher-paying European neighbors.