South Korea’s government stepped up pressure on Samsung Electronics and its union to avert a strike that officials say could cost the economy billions.