Morocco has appointed the head of its football federation as finance minister, granting him a broader role. As a co-host of the 2030 FIFA World Cup, the country faces the challenge of narrowing fiscal leeway and pressing demand for social spending.