An outbreak of dengue fever in Japan—the first since World War II—has affected at least 22 people, the government said Monday, with all cases believed to be linked to a Tokyo park.