With its back against the wall, Havana is beginning to send a clear message: the country’s doors are open, even to the US president