A vacation gathering in Provincetown became a national ritual. Behind the beach days is a nonprofit working on the harder question: who gets to be recognised as a family?