A high-profile German opposition politician has formally founded a new party that combines left-wing economic policy with a restrictive approach to migration and other positions that some observers believe could help it take votes away from the far-right Alternative for Germany.