The Hungarian government said Wednesday that it would take one detainee from Guantánamo Bay in Cuba.