Lebanese president heads for Baghdad