As Democrats look beyond 2024’s losses, candidates from clergy backgrounds see a bigger role for religion in an increasingly secular party.