For Apple, Brian Lynch’s exit brings fresh upheaval to a division struggling to make headway in the smart home market.