Germany’s Scholz optimistic as leaders seek agreement on top EU jobs