Here’s how to tell if your child needs to file a tax return and how it can impact your tax liability.