Closing arguments end in same-sex marriage ban trial