The man arrested following the death of a three-year-old boy in the foyer of a Queensland police station has been denied bail.