A new report suggests that unused faith-owned spaces could help address the shortage of social homes in Wales.