Same-sex marriage hearing to be held Thursday in downtown Detroit