Smart devices have vacation modes and other settings to help keep your home safe while you’re away for long periods. Here’s what to do before your next trip.