Community groups in Brisbane are raising the alarm about loneliness and social isolation, prompting a parliamentary inquiry to examine the issue.