The study of religion is in danger of being erased in Wales, with the nation’s last remaining full theology department facing closure and increasing numbers of schools cutting religious education.