The Supreme Court ruled Tuesday that religious schools can’t be excluded from a Maine program that offers tuition aid for private education, a decision that could ease religious organizations’ access to taxpayer money.