The only way to do it in a day is to catch the first flight from SDV to Eilat early in the morning and return on the last flight in the evening, doing the trip to Petra to/from Eilat. There are organized day trips from Eilat but I believe they start earlier than the 1st flight arrival in Eilat and end later than the last one as it is a long day trip.