Maximal entanglement of bipartite spin states in the context of quantum algebra