Critically ill people in a coastal town wait the longest for an ambulance in Britain, figures have revealed.