It's a short flight so I don't place a big deal on safety and leaving from PAC could be a tiny bit more convenient than PTY, but if it was me i'd rather take the CM flight.
The Hampton in David is fairly new and functional, maybe consider the transfer to Palenque early the next day?