The drone was able to drop a flotation device to a struggling young girl who had been pulled offshore by the rip current