LOUISVILLE — A UPS cargo plane’s left wing caught fire and an engine fell off just before it crashed and exploded after takeoff in Kentucky, a federal official said Wednesday, offering the first investigative details about a disaster that killed at least 12 people, including a child.