The courts have held that a state can legislate a law prohibiting some activities on Sundays, because of the need of a day of rest. The law has not shown that they can prohibit a business form operating, because of there proxy to a religious establishment.
Do you want to apply your "Lemon Test?"
#1 The government's action must have a secular legislative purpose.
(There is no secular reason to bar the sale of alcohol near a church.)
#2 The government's action must not have the primary effect of either advancing or inhibiting religion.
(By banning alcohol near A church, you ARE advancing the church.)
#3The government's action must not result in an "excessive government entanglement" with religion.