Black holes in string theory with duality twists