FedEx Corp. is being investigated in China after a handgun was discovered in a package it was shipping to southern Fujian province, marking a new setback for the American delivery giant that has been caught up in trade frictions between the world’s two largest economies.