Idalia became a hurricane on Tuesday as it intensified on a path toward Florida’s Gulf coast, with the National Hurricane Center warning of an increasing risk of life-threatening storm surge and dangerous hurricane-force winds in Florida in the next two days.